
import Vue from 'vue';
import VueRouter from 'vue-router';

import mine from '@/smalls/content/mine';
import selected from '@/smalls/content/selected';
import classification from '@/smalls/content/classification';
import radios from '@/smalls/content/radios';
import beijing from '@/smalls/province/beijing.vue';
import country from '@/smalls/province/country';
import province from '@/smalls/province/province';
import internet from '@/smalls/province/internet';
//import search from '@/smalls/content/search';

Vue.use(VueRouter);



export default new VueRouter({
	routes:[
		{
			path:'/mine',
			component:mine
		},
		{
			path: '/selected',
			component:selected
		},
		{
			path: '/classification',
			component:classification
		},
		{
			path: '/radios',
			component:radios,
			children:[
				{
					path: '/radios/dt0',
					component:beijing
				},
				{
					path: '/radios/dt1',
					component:country
				},
				{
					path: '/radios/dt2',
					component:province
				},
				{
					path: '/radios/dt3',
					component:internet
				}
			]
		},
//		{
//			path: '/search',
//			component:search
//		},
		{
			path:'/',
			redirect:'/selected'
		}
	]
})